package com.hwz.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hwz.common.utils.PageUtils;
import com.hwz.gulimall.product.entity.CategoryEntity;
import com.hwz.gulimall.product.vo.Catalog2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author hwz
 * @email 1281561921@qq.com
 * @date 2025-05-27 22:49:35
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);



    List<CategoryEntity> listWithTree();


    Long[] getCategoryPathById(Long catelogId);

    List<CategoryEntity> getFirstLevelCategories();

    Map<String,List<Catalog2Vo>> getCatalogJson();

    String hello(String name);
}

